<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" id="viewport"
    content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no,viewport-fit=cover">
  <link rel="manifest" href="./manifest.webmanifest" />
  <meta name="apple-mobile-web-app-title" content="webpush">
  <!-- 像原生应用一样加载 -->
  <meta name="apple-touch-fullscreen" content="yes">
  <!-- 明添加到主屏幕时隐藏地址栏和状态栏（即全屏） -->
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <!-- 明添加到主屏幕时隐藏地址栏和状态栏（即全屏） -->
  <meta name="mobile-web-app-capable" content="yes" />
  <!-- 声明添加到主屏幕时设置系统顶栏颜色 -->
  <meta name="apple-mobile-web-app-status-bar-style" content="translucent" />
  <script>
    const isUniApp = typeof __uniConfig !== 'undefined' && __uniConfig?.platform !== 'h5';
    // H5 环境下强化禁用缩放 
    // #ifdef H5
    if (!isUniApp) {
      document.addEventListener('DOMContentLoaded', function () {
        // 防止双击缩放 
        document.addEventListener('dblclick', function (e) { e.preventDefault(); }, { passive: false });

        // 禁止手势缩放 
        document.addEventListener('touchstart', function (e) {
          if (e.touches.length > 1) e.preventDefault();
        }, { passive: false });
      });
    }
    // #endif
    var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
      CSS.supports('top: constant(a)'))
    document.write(
      '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
      (coverSupport ? ', viewport-fit=cover' : '') + '" />')
  </script>
	
  <link rel="icon" href="./static/login/favicon.ico">
  <title>绿港云办公</title>
  <!--preload-links-->
  <!--app-context-->
</head>

<body>
  <div id="app"><!--app-html--></div>
  <script type="module" src="/main.js"></script>
</body>

</html>